//拦截ajax请求，返回模拟数据
import Mock from "mockjs"

//引入临时模拟数据文件
import banners from "./banners.json"
import floors from "./floors1.json"

Mock.mock("/mock/getBanners","get",{
    code:200,
    data:banners
})

Mock.mock("/mock/getFloors1","get",{
    code:200,
    data:floors
})